package com.juyu.miliao.common.dataSource;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class MultipleDataSourceConfig {
	private String driverClassName;
	private Map<String, String> poolConfig = new HashMap<>();
	private Map<String, List<Map<String, String>>> dataSource = new HashMap<>();

	public String getDriverClassName() {
		return driverClassName;
	}

	public void setDriverClassName(String driverClassName) {
		this.driverClassName = driverClassName;
	}
	
	public Map<String, String> getPoolConfig() {
		return poolConfig;
	}

	public void setPoolConfig(Map<String, String> poolConfig) {
		this.poolConfig = poolConfig;
	}

	public Map<String, List<Map<String, String>>> getDataSource() {
		return dataSource;
	}

	public void setDataSource(Map<String, List<Map<String, String>>> dataSource) {
		this.dataSource = dataSource;
	}

	@Override
	public String toString() {
		return "MultipleDataSourceConfig [driverClassName=" + driverClassName + ", poolConfig=" + poolConfig
				+ ", dataSource=" + dataSource + "]";
	}
}
